package com.tutu.commons.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Program: b2c-cloud-store
 * @Description: 商品图片实体类
 * @Author: JK.TuTu
 * @ @Version: 1.0
 * @Create: 2022-12-19 17:28
 **/
@Data
@TableName("product_picture")
public class Picture implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id; //商品图片Id

    @TableField("product_id")
    private Integer productId;  //商品图片Id

    @TableField("product_picture")
    private String productPicture; //商品图片地址

    @TableField("intro")
    private String intro;  //商品图片信息
}
